package com.example.JavaWebApi.model.configmodel;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @PROJECT_NAME: JavaWebApi
 * @DESCRIPTION: jwt自动加载的配置信息
 * @Author: YangZe
 * @DATE: 2021/11/28 16:29
 */
@Data
@Component
@ConfigurationProperties(prefix = "jwtprop")
public class JwtProp {
    private boolean ValidateIssuerSigningKey;
    private String IssuerSigningKey;
    private boolean ValidateIssuer;
    private String ValidIssuer;
    private boolean ValidateAudience;
    private String ValidAudience;
    private boolean ValidateLifetime;
    private int ExpiredTime;
}
